<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/jsp/viewtop.jsp" %>
<%@ include file="/jsp/jscommom.jsp"%>
<%@ include file="/jsp/admintop.jsp" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>企业推荐管理</title>
		<link href="/css/login.css" rel="stylesheet" type="text/css" />
	</head>
<script type="text/javascript">
function domethod(){
if(document.all.status.value==""){
alert("对不起，状态不能为空！");
return;
}
document.all.method.value="edit";
document.forms[0].submit();
document.all.method.value="";
}
</script>
<%
String id = request.getParameter("ID");
 %>
	<body>
		<html:form action="/com/struts/system/editrecommend" method="post">
		<html:hidden property="method"/>
		<input type="hidden" name="ID" value="<%=id %>"/>
			<table width="880"  border="0" align="center" cellpadding="0"
					cellspacing="1" class="line1">
			<tr>
			<td class="titlebg" colspan="2">
			<bean:write name="com_struts_system_QueryBlackForm" property="corporName"/>
			</td>
			</tr>
			<tr>
			<td class="mtdtitle1">
			设置状态
			</td>
			<td class="mtdtextleft">
			<html:select property="status" styleClass="input1">
			<html:option value="">请选择</html:option>
			<html:option value="1">推荐</html:option>
			<html:option value="0">非推荐</html:option>
			</html:select>
			</td>
			</tr>
			<tr>
			<td class="mtdtitle1" colspan="2">
			<input type="button" class="tbutton" onclick="domethod()" value="提交"/>
			</td>
			</tr>
			</table>
		</html:form>
	</body>
</html>
